import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import EDataV from 'e-datav-vue3'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import './assets/css/index.scss'
import DataVVue3 from '@kjgl77/datav-vue3'
import '@/assets/styles.scss'
import "@popperjs/core";
import * as bootstrap from 'bootstrap'
import store from "@/store/index.js";
import "vant/lib/index.css";
import {
    Button,
    Tabbar,
    TabbarItem,
    NavBar,
    Icon,
    Field,
    Cell,
    CellGroup,
    List,
    Card,
    ContactCard,
    DropdownMenu,
    DropdownItem,
    Picker
} from "vant";
import VueCookies from 'vue3-cookies'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(VueCookies)
app.use(bootstrap)
app.use(store)
app.use(ElementPlus,{
    locale: zhCn,
})
app.use(EDataV)

app.use(DataVVue3)

app.use(router);
app.use(Button);
app.use(Tabbar);
app.use(TabbarItem);
app.use(NavBar);
app.use(Icon);
app.use(Field);
app.use(Cell);
app.use(CellGroup);
app.use(List)
app.use(Card)
app.use(ContactCard )
app.use(DropdownMenu)
app.use(DropdownItem)
app.use(Picker)
app.mount("#app");

